package yf.mall.service.app;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.yf.service.BaseService;
import yf.mall.entity.AppCourseEntity;
import yf.mall.entity.AppCourseEntityExample;
import yf.mall.entity.custom.AppCourseParam;
import yf.mall.vo.AppCourseVo;

import javax.servlet.http.HttpServletResponse;
import java.io.InputStream;
import java.util.List;
import java.util.Map;

/**
 * 课程信息表Service接口
 *
 *
 *
 * @date Tue Jul 18 14:30:26 CST 2023
 */
public interface AppCourseService extends BaseService<AppCourseEntity> {

    /************自动生成**************/
    List<AppCourseVo> findVo(AppCourseVo vo);

        AppCourseVo getVo(Long id);

     int updateVo(AppCourseVo vo);

       int saveVo(AppCourseVo vo);

    void downLoad(HttpServletResponse response, List<AppCourseVo> list);

    void upload(InputStream file);



    /***********BACK***********/

    List<AppCourseEntity> findAll();


    /***********API***********/

    PageInfo<AppCourseEntity> page(AppCourseEntityExample example, Page<AppCourseEntity> page);


    List<yf.mall.vo.app.course.AppCourseVo> findByHot(Integer value);
}
